package com.umgsai.thread.thread66;

public class MyThread extends Thread {
	public MyThread(ThreadGroup group, String name) {
		super(group, name);
	}
	@Override
	public void run() {
		System.out.println(Thread.currentThread().getName() + "准备开始死循环了");
		while (!this.isInterrupted()) {
		}
		System.out.println(Thread.currentThread().getName() + "结束死循环了");
	}
}
